/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VolPro.Entity.SystemModels;

namespace VolPro.Entity.DomainModels
{
    [Entity(TableCnName = "工艺路线主表",TableName = "process_route",DBServer = "SmesDbContext")]
    public partial class process_route:SmesEntity
    {
        /// <summary>
       ///路线ID
       /// </summary>
       [Key]
       [Display(Name ="路线ID")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int route_id { get; set; }

       /// <summary>
       ///路线名称（如：A产品加工路线）
       /// </summary>
       [Display(Name ="路线名称（如：A产品加工路线）")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string route_name { get; set; }

       /// <summary>
       ///版本号
       /// </summary>
       [Display(Name ="版本号")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string version { get; set; }

       /// <summary>
       ///生效日期
       /// </summary>
       [Display(Name ="生效日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime effective_date { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="bool")]
       [Editable(true)]
       public bool? route_status { get; set; }

       
    }
}